package com.demo.svc;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;

import javax.sound.sampled.AudioFormat.Encoding;

import org.apache.commons.lang3.ArrayUtils;
import org.apache.ibatis.session.SqlSessionFactory;
import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.demo.dao.DaoCargo;
import com.demo.domain.Cargo;
import com.demo.domain.JsonDomain;


public class main {

	public static void main(String[] args) throws Exception {
		
		
//		Encryption ep = new Encryption();
//		
//		ep.generateKey();
//		
//		byte[] bytes = ep.encryptionByte("我们都是东北人呢哈 ！！！");
//		
//		String str = "";
//		for(byte bt : bytes){
//			str += bt;
//		}
//		
//		System.out.println(str);
//		
//		System.out.println(ep.encryptionHex("我们都是东北人呢哈 ！！！"));
		
		
		System.out.println(Byte.decode("我们都是东北人呢哈 ！！！"));
	}	
}
